//
//  BCUserSvipHeaderView.h
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/12/20.
//  Copyright © 2018 guoshikeji. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class BCUserSvipData;

@interface BCUserSvipGradientView : UIView

/**
 *gradientLayer
 */
@property (nonatomic, strong) CAGradientLayer *gradientLayer;

/**
 *gradientColors
 */
@property (nonatomic, copy) NSArray <UIColor *> *gradientColors;

@end

@interface BCUserSvipHeaderView : UIView


/**
 *BCUserSvipData
 */
@property (nonatomic, weak) BCUserSvipData *svipData;


#pragma mark - action
- (void)addBuyTarget:(id)target action:(SEL)action;


+ (CGFloat)heightWithWidth:(CGFloat)width;

#pragma mark - 渐变色
+ (UIColor *)topColor;
+ (UIColor *)sepColor;
+ (UIColor *)bottomColor;

@end

NS_ASSUME_NONNULL_END
